package com.woniuxy.userapp.infra.model.mapper.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class VenuePhotos implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 场馆id
     */
    private Integer venueId;

    private String photo;

    private String address;

    /**
     * 文件后缀
     */
    private String postfix;

    /**
     * 1:商家上传  2:用户上传
     */
    private Integer type;

    /**
     * 是否展示 0:不展示 1:展示,用户和商家上传的照片,要先经过审核才能上传
     */
    private Integer isShow;

    /**
     * 上传时间
     */
    private LocalDateTime uploadTime;

    /**
     * 文件大小
     */
    private String size;


}
